﻿using KingerRobot.MexicoSailunMDC.Dao;

namespace KingerRobot.MexicoSailunWMS.SpiService
{
    internal interface ILineManagerV2
    {
        /// <summary>
        /// 添加线体节点数据
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        int InsertToScadaBoxTasks(ScadaBoxTaskParamV2 param);

        /// <summary>
        /// 通过线体编号修改线体节点数据
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        int UpdateScadaBoxTasksByLineCode(ScadaBoxTaskParamV2 param);

        /// <summary>
        /// 根据线体编号查询线体节点数据
        /// </summary>
        /// <param name="lineCode"></param>
        /// <returns></returns>
        POScadaBoxTasks QueryScadaBoxTasksByLineCode(string lineCode);
    }
}
